package org.jeecg.modules.message.api;
import org.jeecg.common.api.dto.sms.SendSmsDTO;
import org.jeecg.modules.message.api.fallback.SmsSendFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "jeecg-message", fallbackFactory = SmsSendFallback.class)
public interface SmsSendApi {

    /**
     * sms hello 微服务接口
     * @param
     * @return
     */
    @GetMapping(value = "/sms/sendSms")
    String send(@Validated SendSmsDTO sendSmsDTO);
}
